-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ulms 2812 whiteboard rebrand #258
Conversation
# Conflicts: # packages/presentation/package-lock.json # packages/presentation/package.json
@@ -240,7 +241,9 @@ export class ContextToolbar extends React.Component { | |||
{showLineTool && ( | |||
<SettingsGroup | |||
direction={`${direction}-start`} | |||
containerStyles={{ marginLeft: '-12px' }} | |||
containerStyles={{ | |||
left: '-12px', padding: '8px 12px', top: direction === 'top' ? '2px' : '-2px', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Предлагаю вынести стили в константу вне компонента
@@ -268,7 +271,9 @@ export class ContextToolbar extends React.Component { | |||
{showFontTool && ( | |||
<SettingsGroup | |||
direction={`${direction}-start`} | |||
containerStyles={{ marginLeft: '-12px' }} | |||
containerStyles={{ | |||
left: '-12px', padding: '8px 12px', top: direction === 'top' ? '2px' : '-2px', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Предлагаю вынести стили в константу вне компонента
</SettingsGroup> | ||
)} | ||
{showColorTool && ( | ||
<SettingsGroup | ||
direction={`${direction}-start`} | ||
containerStyles={{ marginLeft: '-12px' }} | ||
containerStyles={{ | ||
left: '-12px', padding: '12px', top: direction === 'top' ? '2px' : '-2px', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Предлагаю вынести стили в константу вне компонента
@@ -70,7 +70,7 @@ export class TextGroup extends React.Component { | |||
return ( | |||
<SettingsGroup | |||
direction='right-start' | |||
containerStyles={{ marginTop: '-12px', marginLeft: '4px' }} | |||
containerStyles={{ marginTop: '-16px', marginLeft: '-2px' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Предлагаю вынести стили в константу вне компонента.
Заметил что это же значение используется еще в трех других компонентах
# Conflicts: # packages/drawing/package-lock.json # packages/drawing/package.json
# Conflicts: # packages/drawing/package-lock.json # packages/drawing/package.json
No description provided.